package cn.cqie.attendance.teacher.dao;

import cn.cqie.attendance.teacher.pojo.TeacherAttendance;
import cn.cqie.attendance.teacher.pojo.TeacherAttendanceReq;
import cn.cqie.attendance.teacher.pojo.TeacherPunch;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author luwei
 * @date 2021/6/21 - 16:38
 */
@Mapper
public interface TeacherAttendanceDao {
    /**
     * 教师查看课程下的学生的考情
     * @param param
     * @return
     */
    List<TeacherAttendance> queryAttendanceByTeacherId(@Param("param") TeacherAttendanceReq param);

    /**
     * 教师查看课程下的学生的门禁打卡记录
     * @param map
     * @return
     */
    List<TeacherPunch> queryStudentPunchByTeacherId(Map<String,Object> map);
}
